package com.drug.wms.domain;

import com.drug.common.annotation.Dict;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.drug.common.annotation.Excel;
import com.drug.common.core.domain.BaseEntity;

/**
 * 货位配置对象 bus_cargo_space_conf
 * 
 * @author ruoyi
 * @date 2021-12-26
 */
public class BusCargoSpaceConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 仓库id */
    @Excel(name = "仓库id")
    @Dict(dictTable = "bus_warehose_info",dicCode = "id",dicText = "warehouse_name")
    private String warehouseId;

    /** 货位编号 */
    @Excel(name = "货位编号")
    private String spaceNo;

    /** 货位名称 */
    @Excel(name = "货位名称")
    private String spaceName;

    /** 数据状态 */
    @Excel(name = "数据状态")
    @Dict(dicCode = "validity")
    private String validityCode;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setWarehouseId(String warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId() 
    {
        return warehouseId;
    }
    public void setSpaceNo(String spaceNo) 
    {
        this.spaceNo = spaceNo;
    }

    public String getSpaceNo() 
    {
        return spaceNo;
    }
    public void setSpaceName(String spaceName) 
    {
        this.spaceName = spaceName;
    }

    public String getSpaceName() 
    {
        return spaceName;
    }
    public void setValidityCode(String validityCode) 
    {
        this.validityCode = validityCode;
    }

    public String getValidityCode() 
    {
        return validityCode;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warehouseId", getWarehouseId())
            .append("spaceNo", getSpaceNo())
            .append("spaceName", getSpaceName())
            .append("remark", getRemark())
            .append("validityCode", getValidityCode())
            .append("deptId", getDeptId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
